<?php
namespace frontend\models;


use common\models\User;
use yii\db\ActiveReCord;

/**
 * Signup 
 */
class Zhuce extends ActiveReCord
{

    public $verifyCode;

    /**
     * @inheritdoc
     */
    public static function tableName(){
    	return "recruit_user";
    }
    public function rules()
    {
        return [
            ['username', 'trim'],
            ['username', 'required'],
            ['username', 'unique'],

            ['password', 'required'],

            ['email', 'trim'],
            ['email', 'required'],
            ['email', 'email'],
            ['email', 'unique'],

            ['verifyCode', 'required','message' => '验证码不能为空'],
            ['verifyCode', 'captcha'],
        ];
    }

   
}
